@import url('https://fonts.googleapis.com/css2?family=Acme&family=Cabin+Condensed:wght@400;500;600;700&family=Cabin:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Foldit:wght@100;200;300;400;500;600&family=Lilita+One&family=Righteous&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

/* font-family: 'Acme', sans-serif;
font-family: 'Cabin', sans-serif;
font-family: 'Cabin Condensed', sans-serif;
font-family: 'Chakra Petch', sans-serif;
font-family: 'Foldit', cursive;
font-family: 'Lilita One', cursive;
font-family: 'Righteous', cursive;
font-family: 'Roboto', sans-serif;
font-family: 'Titillium Web', sans-serif; */

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-outline: none;
    outline: none;
}

html,body{
    position: relative;
    width: 100%;
    min-height: 100% !important;
    margin: 0;
    /* font-family: 'Roboto', sans-serif; */
    font-family: 'Cabin', sans-serif;
    background-color: #cfe2ff;
    overflow-x: hidden;
    /* overflow-y: hidden; */
}
.box{
    position: relative;
    max-width: 1920px !important;
    margin: auto;
}
#dashboard{
    position: relative;
    background-color: white;
    max-width: 800px;
    min-height: 100vh;
    margin: auto;
    box-shadow: 0 0 12px 0 rgba(0,0,0,.2);
    /* overflow: auto; */
    padding: 0 0 200px 0;
    transition: all 200ms linear;
}
header{
    position: fixed;
    max-width: 800px;
    height: 66px;
    border: 1px solid #cfe2ff;
    width: 100%;
    padding: 10px;
    background-color: white;
    z-index: 1000;
}
#bk-menu{
    font-size: 2em;
    cursor: pointer;
}
#bk-name{
    position: relative;
    text-decoration: none;
    color: black;
    top: -3px;
    margin: 0 10px;
    font-size: 1.6em;
    font-weight: bold;
    font-family: 'Chakra Petch', sans-serif;
    cursor: pointer;
}
.nav-right{
    position: absolute;
    text-decoration: none;
    right: 20px;
    top: 7px;
    font-size: 2.2em;
    cursor: pointer;
}
section{
    position: relative;
    top: 70px;
    padding: 20px 40px;
}
.b-welcome{
    margin-bottom: 20px;
}
#alert-in{
    margin-bottom: 20px !important;
    font-size: .9em !important;
}
.b-balance-box{
    position: relative;
    box-shadow: 0 0 8px 0 rgba(0,0,0,.14);
    padding: 20px;
    border-radius: 12px;
    background-color: #0d6efd;
}
.b-balance-title{
    margin-bottom: 10px;
    color: white;
}
.b-balance-amount{
    position: relative;
    padding: 0 0 0 20px;
    font-family: 'Acme', sans-serif;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    color: white;
}
.b-balance-btn > a{
    position: relative;
    text-decoration: none;
    margin: 0 5px 5px;
    /* border: 2px solid white; */
}
.b-balance-btn > a > i{
    position: relative;
    top: 1px;
}
.b-history{
    position: relative;
    margin: 40px auto 30px;
}
.b-history-title{
    font-weight: bold;
    padding: 0 0 5px 0;
    border-bottom: 1px solid black;
}
.bh-list{
    position: relative;
    font-family: 'Cabin Condensed', sans-serif;
    display: -webkit-box-flex;
    display: -ms-flex;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    padding: 10px 0;
    transition: all 100ms ease;
}
.bh-list:hover{
    background-color: #e2e2e2;
}
.bh-icon{
    margin-right: 20px;
    width: 50px;
    height: 50px;
    background-color: #e2e2e2;
    border-radius: 50%;
    text-align: center;
    font-size: 1.5em;
    line-height: 52px;
    flex: none;
}
.bh-list-add > .bh-icon{
    background-color: #238c5b;
    color: white;
}
.bh-list-deb > .bh-icon{
    background-color: #ff4444;
    color: white;
}
.bh-item{
    flex: auto;
}
.bhi-2{
    float: right;
}
.bh-item-1 .bhi-2{
    color: #198754;
    font-weight: bold;
}
.bh-item-2 .bhi-1{
    font-weight: bold;
}
.bh-item-2 .bhi-2{
    font-size: .8em;
}
.bh-list-transfer .bh-item-1 .bhi-2{
    color: #ff3333
}
.b-card{
    position: relative;
    padding: 20px 0px;
    display: -webkit-box-flex;
    display: -ms-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.b-card > div{
    position: relative;
    width: 50%;
}
.b-card-box{
    position: relative;
}
.b-card-box > div{
    position: relative;
    padding: 10px 20px;
    width: 300px;
    border-radius: 12px;
    height: 180px;
    background-color: #0d6efd;
    color: white;
}
.bb-card-name{
    font-weight: bold;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.2em;
    margin-bottom: 5px;
}
.bb-card-number{
    font-family: 'Cabin', sans-serif;
    font-weight: bold;
    font-size: 1.1em;
}
.bb-card-author{
    font-family: 'Cabin', sans-serif;
    font-weight: bold;
    font-size: .9em;
    margin: 5px 0px;
}
.b-valid,.b-cvv{
    font-family: 'Cabin', sans-serif;
    font-weight: bold;
    font-size: .6em;
}
.b-valid{
    position: relative;
    top: 5px;
}
.b-cvv{
    position: relative;
    top: -10px;
    position: relative;
    text-align: right;
}
.b-card-logo{
    right: 20px;
    bottom: -30px;
    font-size: 4em;
    position: absolute;
}
.b-card-setting{
    position: relative;
}
.b-card-setting span{
    margin: 10px;
}
.init-transfer{
    font-family: 'Cabin', sans-serif;
}
.t-title{
    font-size: 1.2em;
    font-weight: bold;
}
.t-title > i{
    position: relative;
    color: #0d6efd;
    font-size: 1.6em;
    top: 4px;
}
.t-amount{
    text-align: center;
}
.t-amount > span{
    font-family: 'Acme', sans-serif;
    display: inline-block;
    margin: auto;
    font-size: 2.5em;
    font-weight: bold;
    padding: 20px 40px;
    border-radius: 12px;
    /* box-shadow: 0 0 6px 0 rgba(0,0,0,.14); */
}
#init-t button,#next-t button{
    min-height: 50px;
}
.n-alert p{
    margin: 5px;
}
.n-title{
    font-size: 1.1em;
    font-weight: bold;
}
.error{
    color: #ff3333;
    position: relative;
    top: -10px;
}
footer{
    position: fixed;
    display: -webkit-box-flex;
    display: -ms-flex;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    width: 600px;
    left: calc(50% - 300px);
    height: 60px;
    border-radius: 30px;
    /* box-shadow: 0 0 12px 0 rgba(0,0,0,.2); */
    border: 1px solid #cfe2ff;
    background-color: white;
    bottom: 20px;
    overflow: hidden;
    background-color: white;
    z-index: 1000;
}
footer > a{
    text-decoration: none;
    width: 25%;
    text-align: center;
    overflow: hidden;    
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 5px;
    transition: all 100ms ease;
}
footer > a:hover{
    background-color: #cfe2ff;
}
footer > a > *{
    display: block;
}
footer > a > i{
    position: relative;
    top: 4px;
}
footer > a > span{
    font-size: .8em;
}
.a-title > i{
    font-size: 1.2em;
}
.a-info{
    padding-left: 20px;
}
.end-t .alert > h5{
    font-size: 1.1em;
}
.end-t .alert > p{
    font-size: .9em !important;
}
.v-box{
    position: relative;
    margin: 40px auto;
}
.v-title{
    text-align: center;
    font-size: 1.2em;
    font-family: 'Chakra Petch', sans-serif;
    margin: 10px auto;
    font-weight: bold;
    color: #555;
}
.progress{
    height: 50px;
}
.progress-bar{
    font-size: 1.2em;
    font-weight: bold;
}
.progress-bar-animated{
    animation: .6s linear infinite progress-bar-stripes !important;
}
.my-modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    z-index: 99999999;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 200ms ease;
    transition: all 200ms ease;
}
.m-dialog{
    position: relative;
    margin: 70px auto;
    width: 600px;
    background-color: white;
}
#success .m-context{
    background-color: #1ab394;
}
#success .mm-title{
    color: #1ab394;
}
#fail .m-context{
    background-color: #d9534f;
}
#fail .mm-title{
    color: #d9534f;
}
.m-context{
    position: relative;
    padding: 20px;
    height: 120px;
    text-align: center;
    color: white;
}
.m-context span{
    font-size: 5em;
    position: relative;
    top: -15px;
}
.m-context i{
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 1.8em;
    color: #ffffff90;
    cursor: pointer;
}
.m-message{
    padding: 20px;
    background-color: white;
}
.mm-title{
    text-align: center;
    margin: 20px auto;
    font-size: 1.6em;
    line-height: 26px;
    font-weight: bold;
    font-family: 'Cabin Condensed', sans-serif;
}
.mm-item{
    position: relative;
    margin: auto;
    font-size: .9em;
    color: #333;
}
.m-footer{
    padding: 15px 20px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}
.m-footer span{
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #e2e2e2;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    font-size: .9em;
}
.m-footer span:hover{
    background-color: rgba(0,0,0,.1);
}
.m-footer span:active{
    background-color: rgba(0,0,0,.2);
}
@media screen and (max-width: 800px) {
    #dashboard,header{
        max-width: 100%;
        width: 100%;
    }
    footer{
        width: 80%;
        left: 10%;
    }
    .b-card-setting{
        text-align: center;
    }
}
@media screen and (max-width: 700px) {
    .b-card > div{
        display: block;
        width: 100%;
    }
    .b-card-setting{
        text-align: left;
        margin-top: 20px;
    }
    .m-dialog{
        width: 96%;
    }
}
@media screen and (max-width: 500px) {
    #bk-name{
        font-size: 1.4em;
    }
    .nav-right{
        font-size: 2em;
        top: 10px;
    }
    section{
        padding: 20px;
    }
    #alert-in{
        font-size: .84em !important;
    }
    .bh-icon{
        margin-right: 10px;
    }
    .bh-item > div{
        font-size: .9em;
    }
    .bh-item-2 .bhi-2{
        font-size: .76em;
    }
    footer{
        width: 90%;
        left: 5%;
        bottom: 10px;
    }
    footer > a > span{
        font-size: .75em;
    }
    .a-title,.a-info{
        font-size: .9em;
    }
    .t-title{
        font-size: 1.1em;
    }
    .t-title > i {
        font-size: 1.4em;
    }
    .t-amount > span{
        font-size: 2.2em;
    }
    #init-t .alert{
        font-size: .9em;
    }
    .n-title{
        font-size: 1em;
    }
    .n-item,.error{
        font-size: .9em;
    }
    .end-t .alert > h5{
        font-size: 1.05em;
    }
    .end-t .alert > p{
        font-size: .85em !important;
    }
    .v-title{
        font-size: 1em;
    }
    .progress-bar{
        font-size: 1.1em;
    }
    .mm-item{
        font-size: .85em;
    }
    .m-dialog{
        margin: 60px auto;
    }
}
@media screen and (max-width: 350px) {
    #alert-in{
        font-size: .8em;
    }
    footer > a > span{
        font-size: .7em;
    }
    section{
        padding: 20px 10px;
    }
}